package com.redoor.app.stake.basicdata.service;


import com.redoor.app.stake.basicdata.model.LogEnum;
import com.redoor.app.stake.basicdata.model.RegistrationApplyForRedis;
import com.redoor.app.stake.basicdata.model.RegistrationForRedisEnum;

import java.util.List;

/**
 *  保存注册码申请信息到redis的接口
 *
 * @author ZhangMumu
 * @date 2018/4/2 0002 21:11
 */
public interface RegistrationApplyRedisService {
    /**
     *  添加注册码申请信息到redis
     *   
     * @author ZhangMumu  
     * @date 2018/4/3 0003 10:32  
     * @param
     * @return   
     */  
    boolean addApplyInfoToRedis(Object object, RegistrationForRedisEnum registrationForRedisEnum);
    /**  
     *  处理注册码申请信息  
     *   
     * @author ZhangMumu  
     * @date 2018/4/3 0003 10:33  
     * @param   
     * @return   
     */  
    List getApplyInfoFromRedis(int times,RegistrationForRedisEnum registrationForRedisEnum);
    
}
